/**
 * Classname :Constants.java
 *
 * Version information: 1.0
 *
 * Date: Jan 04, 2010 ho.viet.duan create
 *
 * MDG Viet Name co.ltd, All Rights Reserved.
 */

package com.zho.util;

public interface Constants {
	public interface DATE {
		final String DATE_FORMAT = "dd/MM/yyyy";
		final String DATE_FORMAT_DATETIMEPICKER = "MM/dd/yyyy";
		final String DATE_FORMAT_DATETIMEPICKER_ADDTIME = "MM/dd/yyyy HH:mm:ss";
		final String DATE_FORMAT_DATEDB = "yyyy/MM/dd";
		final String DATE_FORMAT_DATE_DISPLAY = "dd/MM/yyyy HH:mm:ss";
		final String DATE_FORMAT_IN_SECOND = "yyyy-MM-dd HH:mm:ss";
		final String DATE_FORMAT_ALL_DATE = "dd/MM/yyyy HH:mm:ss";
		final String DATE_FORMAT_ALL_DATE_SEC = "ddMMyyyyHHmmss";
		final String DATE_FORMAT_IN_MILI_SEC = "yyyy/mm/dd hh:mm:ss,SSS";
		final String DATE_FORMAT_yyyMMdd = "yyyyMMdd";
	}

	public interface Address {
		String WEB_URL = "server.url";
		String FRONT_URL = "front.server.url";
	}

	public interface Social {
		int FACEBOOK = 1;
		int TWITTER = 2;
		
		int POST_AUTO = 1;
		int POST_MANUAL = 2;
		int POST_DEFAULT = POST_MANUAL;

		String FACEBOOK_APP_ID = "facebook.app_id";
		String FACEBOOK_APP_SECRET = "facebook.app_secret";
		String FACEBOOK_AUTHORIZATION_URL = "facebook.authorization_url";
		String FACEBOOK_ACCESSTOKEN_URL = "facebook.accesstoken_url";
		String TWITTER_CONSUMER_KEY = "twitter.consumer_key";
		String TWITTER_CONSUMER_SECRET = "twitter.consumer_secret";
		String CALLBACK_URL = "social.callback_url";
	}

	int ODDVALUE_SCALE = 2;
	int ODDVALUE_DEFAULT = 1;
}
